package cn.kgc.tangcco.anyang.aop.d_myaop;

import org.springframework.stereotype.Component;

@Component
public class AOP {
	// 重复执行的代码
	public void begin() {
		System.out.println("开始事务/异常");
	}

	public void commite() {
		System.out.println("提交事务/关闭");
	}
}
